package com.jinlejia.erp.bean;

import com.jinlejia.erp.base.BeanKey;

/**
 * @author 王进 on 2019/1/16.
 */

public class BuildingBean implements BeanKey {
    private String buildingCode; //座栋编码
    private String buildingNo;  //座栋编号
    private String unitTotal; //单元总数

    public String getBuildingCode() {
        return buildingCode;
    }

    public void setBuildingCode(String buildingCode) {
        this.buildingCode = buildingCode;
    }

    public String getBuildingNo() {
        return buildingNo;
    }

    public void setBuildingNo(String buildingNo) {
        this.buildingNo = buildingNo;
    }

    public String getUnitTotal() {
        return unitTotal;
    }

    public void setUnitTotal(String unitTotal) {
        this.unitTotal = unitTotal;
    }

    @Override
    public String key() {
        return buildingCode;
    }

    @Override
    public String toString() {
        return buildingNo;
    }
}
